﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon" target="mainframe">留言列表</a></li>

	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>留言列表</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>


                                 
                                 
     
<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td width="40" align="center" class="bold">序号</td>
	<td class="bold" width="50%" >内容</td>
	<td class="bold">用户名</td>
	<td  class="bold">时间</td>	
	<td class="bold">操作</td>
</tr>

<?php foreach((array)$lw_data as $_key => $_value ) { ?>
<tr>
	<td>{$_value.id}</td>
	<td><a href="{SITE_URL}/index.php?app={$appidname[$_value[table_id]]}&act=show&id={$_value[con_id]}" target="_blank">{$_value.content}</a></td>
	<td>{$_value.user_name}</td>
	<td>{$_value.add_time|dateymdgis}</td>	

	<td>

	                                            <a href="?app=huiying&act=del&id={$_value.id}" onClick="return confirm('确认删除？此操作无法恢复！');">删除</a>

	</td>
</tr>

<?php } ?>


<style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>

<tr>
	<td colspan="5">
    <div class="p_bar">
    <span class="p_info">Total: <b>{$lw_page.total}</b>  共{$lw_page.curr.num}/{$lw_page.totalpage}页</span>
    <a class="p_num" href="{$lw_page.head}">首页</a>
    <a class="p_num" href="{$lw_page.up}"><<</a>
    <a class="p_num" href="{$lw_page.up}">上一页</a>
    <span class="p_curpage">{$lw_page.curr.num}</span>
    <a  class="p_num" href="{$lw_page.down}">下一页</a>
    <a  class="p_num" href="{$lw_page.down}">>></a>
    <a  class="p_num" href="{$lw_page.foot}">末页</a>    
    
    </div>
    </td>
</tr>

</tbody>
</table>
                        
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 

                 </div>

</div>



<!--{inc(footer.view.html)}-->